package com.qmctl.rest.bean.stockquery.response;
import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;
import org.springframework.stereotype.Repository;
@Repository
@XmlRootElement(name="response")
public class StockQueryResponse{
  public StockQueryResponse(){
  }
  private String flag;
  private String code;
  private String message;
  private long totalCount;
  @XmlElementWrapper(name="items")  
  @XmlElement(name="item")  
  private List<ItemClazz> itemLst;
  public long getTotalCount(){
    return totalCount;
  }
  public void setTotalCount(long iTotalCount){
    totalCount = iTotalCount;
  }

  public String getFlag() {
	return flag;
  }
  public void setFlag(String flag) {
	this.flag = flag;
  }
  public String getCode() {
	return code;
  }
  public void setCode(String code) {
	this.code = code;
  }
  public String getMessage() {
	return message;
  }
  public void setMessage(String message) {
	this.message = message;
  }
  
  public void setItemLst(List<ItemClazz> itemLst) {
	this.itemLst = itemLst;
  }
/*
  public StockQueryResponse(#BeanClazz beanClazz){
   flag = beanClazz.getFlag();
   flag = beanClazz.getFlag();
   code = beanClazz.getCode();
   message = beanClazz.getMessage();
   totalCount = beanClazz.getTotalCount();
   items = beanClazz.getItems();
}*/
}
